package com.april.service;

import com.april.pojo.TbItem;
import com.april.utils.PageResult;

import java.util.Map;

/**
 * @Author: 槐序 廿一
 * @Date: 2023-06-19
 * @Time: 17:41
 * @Description:
 */
public interface ItemService {

    PageResult findItemByPage(int page, int rows);

    int insertTbItem(TbItem tbItem, String desc, String itemParams);

    Map<String, Object> preUpdateItem(Long itemId);

    int updateTbItem(TbItem tbItem, String desc, String itemParams);
}
